# -*-coding:utf-8 -*-
# File  : deviceWhiteBoolStatus_api.py
# Time  ：2021/12/8 17:11
# Author：author name


from api.manage.manage_base import ManageBase


class DeviceWhiteBoolStatusApi(ManageBase):
    def __init__(self, type_id):
        """白名单类型禁启用接口"""
        super().__init__()
        self.url = self.host + f"cloudlottery-manage/deviceWhiteListType/boolWhiteStatus?id={type_id}&status=0"
        self.method = "put"
